package com.vlin.config.redis.session;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.connection.RedisStandaloneConfiguration;
import org.springframework.stereotype.Component;

@Component
public class StandaloneProperties extends RedisStandaloneConfiguration {
	

	@Value("${jedis.password}")
	public void setPassword(String password) {
		super.setPassword(password);
	}

	@Override
	@Value("${jedis.hostname}")
	public void setHostName(String hostName) {
		super.setHostName(hostName);
	}

	@Override
	@Value("${jedis.port}")
	public void setPort(int port) {
		super.setPort(port);
	}



}
